<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        ul {
            /* 去掉列表前面的符号 */
            list-style: none;
            display: flex;
        }

        li {
            padding: 20px 10px;
        }

        .active {
            background-color: #DD5142;
            color: #fff;
        }
    </style>
</head>

<body>
    <ul>
        <li class="active">首页</li>
        <li>
            <a href="#">电影</a>
        </li>
        <li>影院</li>
        <li>演出</li>
    </ul>
</body>

</html>